Conditional (computer programming)
part 22/26 · 46.2 KB total
──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────
1. endnote-pattern-matchingnone^ This refers to pattern matching as a distinct conditional construct in the programming language – as opposed to mere string pattern matching support, such as regular expression support.
2. endnote-preprocessor-elif11 endnote-preprocessor-elif22 An #ELIF directive is used in the preprocessor sub-language that is used to modify the code before compilation; and to include other files.
3. endnote-choice-else-if11 endnote-choice-else-if22 endnote-choice-else-if33 endnote-choice-else-if44 endnote-choice-else-if55 endnote-choice-else-if66 The often-encountered else if in the C family of languages, and in COBOL and Haskell, is not a language feature but a set of nested and independent if then else statements combined with a particular source code layout. However, this also means that a distinct else–if construct is not really needed in these languages.
──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────